package com.ss.android.download.a;

import android.net.Uri;
import android.provider.BaseColumns;

public final class a implements BaseColumns {
    public static final Uri a;

    static {
        a = Uri.parse("content://com.ss.android.newmedia.downloads/all_downloads");
    }

    public static boolean a(int arg1) {
        boolean v0 = arg1 < 200 || arg1 >= 300 ? false : true;
        return v0;
    }

    public static boolean b(int arg1) {
        boolean v0 = arg1 < 400 || arg1 >= 600 ? false : true;
        return v0;
    }

    public static boolean c(int arg1) {
        boolean v0;
        if (arg1 < 200 || arg1 >= 300) {
            if (arg1 >= 400 && arg1 < 600) {
                label_8:
                v0 = true;
                return v0;
            }

            v0 = false;
        } else {
            return true;
        }

        return v0;
    }

    public static String d(int arg1) {
        String v0;
        switch (arg1) {
            case 190: {
                v0 = "PENDING";
                break;
            }
            case 192: {
                v0 = "RUNNING";
                break;
            }
            case 193: {
                v0 = "PAUSED_BY_APP";
                break;
            }
            case 194: {
                v0 = "WAITING_TO_RETRY";
                break;
            }
            case 195: {
                v0 = "WAITING_FOR_NETWORK";
                break;
            }
            case 196: {
                v0 = "QUEUED_FOR_WIFI";
                break;
            }
            case 198: {
                v0 = "INSUFFICIENT_SPACE_ERROR";
                break;
            }
            case 199: {
                v0 = "DEVICE_NOT_FOUND_ERROR";
                break;
            }
            case 200: {
                v0 = "SUCCESS";
                break;
            }
            case 400: {
                v0 = "BAD_REQUEST";
                break;
            }
            case 406: {
                v0 = "NOT_ACCEPTABLE";
                break;
            }
            case 411: {
                v0 = "LENGTH_REQUIRED";
                break;
            }
            case 412: {
                v0 = "PRECONDITION_FAILED";
                break;
            }
            case 488: {
                v0 = "FILE_ALREADY_EXISTS_ERROR";
                break;
            }
            case 489: {
                v0 = "CANNOT_RESUME";
                break;
            }
            case 490: {
                v0 = "CANCELED";
                break;
            }
            case 491: {
                v0 = "UNKNOWN_ERROR";
                break;
            }
            case 492: {
                v0 = "FILE_ERROR";
                break;
            }
            case 493: {
                v0 = "UNHANDLED_REDIRECT";
                break;
            }
            case 494: {
                v0 = "UNHANDLED_HTTP_CODE";
                break;
            }
            case 495: {
                v0 = "HTTP_DATA_ERROR";
                break;
            }
            case 496: {
                v0 = "HTTP_EXCEPTION";
                break;
            }
            case 497: {
                v0 = "TOO_MANY_REDIRECTS";
                break;
            }
            case 498: {
                v0 = "BLOCKED";
                break;
            }
            default: {
                v0 = Integer.toString(arg1);
                break;
            }
        }

        return v0;
    }
}

